<include file="Public/head" />

<body>
  <div class="panel admin-panel">
    <div class="panel-head"><strong><span class="icon-pencil-square-o"></span> 上传小程序</strong></div>
    <div class="body-content">
      <form method="post" class="form-x" enctype="multipart/form-data">
        <div class="form-group">
          <div class="label">
            <label>模板选择：</label>
          </div>
          <div class="field">
            <input type="text" name="template_id" class="input w50" value="{$info['template_id']}"/>

            <!--<select name="template_id" class="input w50">
              <foreach name="templateid" item="v">
                <option value="{$v['templateid']}" <if condition="$v['templateid'] eq $info['template_id']">selected="selected"</if>>{$v['temp_titel']}</option>
              </foreach>
            </select>-->
            <div class="tips"></div>
          </div>
        </div>
        <input type="hidden"  value="{$style['s_id']}" name="s_id" />　    
        <div class="form-group">
            <div class="label"><label>标题</label></div>
            <div class="field">
                <input type="text" class="input w50" value="{$style['title']}" name="title" />　
              
                <div class="tips"></div>
            </div>
        </div>
        <div class="form-group">
            <div class="label"><label>标题颜色</label></div>
            <div class="field">
                <select name="title_color" >
                    <if condition="$style['title_color'] eq '#ffffff'"> 
                        <option value = "#ffffff" selected = "#000000">白色</option>
                        <else /> 
                        <option value = "#ffffff" >白色</option>
                    </if>
                    <if condition="$style['title_color'] eq '#000000'"> 
                        <option value = "#000000" selected = "#000000">黑色</option>
                        <else /> 
                        <option value = "#000000">黑色</option>
                    </if>
                </select>
            </div>
        </div>
        <div class="form-group">
            <div class="label"><label>标题背景颜色</label></div>
            <div class="field">
                  <input type="color" name="title_bg" style="border: solid 1px #ddd;height: 40px;" value="{$style['title_bg']}"/>　
                <div class="tips"></div>
            </div>
        </div>
        <div class="form-group">
            <div class="label"><label>店铺头部颜色/购物车栏颜色</label></div>
            <div class="field">
                <input type="color" name="store_bg" style="border: solid 1px #ddd;height: 40px;" value="{$style['store_bg']}"/>　
                <div class="tips"></div>
            </div>
        </div>

        <div class="form-group">
            <div class="label"><label>店铺名颜色</label></div>
            <div class="field">
                <input type="color" name="store_name_color" style="border: solid 1px #ddd;height: 40px;" value="{$style['store_name_color']}"/>　
                <div class="tips"></div>
            </div>
        </div>
       <!--  <div class="form-group">
            <div class="label"><label>底部导航1/地址：</label></div>
            <div class="field">
                <input type="text" class="input w50" name="listpp0" value="{$info['ext_json']['tabBar']['list'][0]['pagePath']}"/>
                <input type="text" class="input w50" name="listt0" value="{$info['ext_json']['tabBar']['list'][0]['text']}"/>
            </div>
        </div>
        <div class="form-group">
            <div class="label"><label>底部导航2/地址：</label></div>
            <div class="field">
                <input type="text" class="input w50" name="listpp1" value="{$info['ext_json']['tabBar']['list'][1]['pagePath']}"/>
                <input type="text" class="input w50" name="listt1" value="{$info['ext_json']['tabBar']['list'][1]['text']}"/>
            </div>
        </div>
        <div class="form-group">
            <div class="label"><label>底部导航3/地址：</label></div>
            <div class="field">
                <input type="text" class="input w50" name="listpp2" value="{$info['ext_json']['tabBar']['list'][2]['pagePath']}"/>
                <input type="text" class="input w50" name="listt2" value="{$info['ext_json']['tabBar']['list'][2]['text']}"/>
            </div>
        </div>
        <div class="form-group">
            <div class="label"><label>底部导航4/地址：</label></div>
            <div class="field">
                <input type="text" class="input w50" name="listpp3" value="{$info['ext_json']['tabBar']['list'][3]['pagePath']}"/>
                <input type="text" class="input w50" name="listt3" value="{$info['ext_json']['tabBar']['list'][3]['text']}"/>
            </div>
        </div>
        <div class="form-group">
            <div class="label"><label>底部导航5/地址：</label></div>
            <div class="field">
                <input type="text" class="input w50" name="listpp4" value="{$info['ext_json']['tabBar']['list'][4]['pagePath']}"/>
                <input type="text" class="input w50" name="listt4" value="{$info['ext_json']['tabBar']['list'][4]['text']}"/>
            </div>
        </div>
        
 -->

        <div class="form-group">
          <div class="label">
            <label></label>
          </div>
          <div class="field">
            <button class="button bg-main icon-check-square-o" type="submit"> 上传</button>
          </div>
        </div>
      </div>
    </from>
  </div>
</body>

</html>